#include "C.header.h"

SOCKET cConnect(SOCKET sock) {
	SOCKADDR_IN cAddr;

	ZeroMemory(&cAddr, sizeof(cAddr));
	cAddr.sin_family = AF_INET;
	cAddr.sin_port = htons(9000);
	cAddr.sin_addr.s_addr = inet_addr("127.0.0.1");

	return connect(sock, (SOCKADDR *)&cAddr, sizeof(cAddr));
}